.class Lcom/example/m6wmr/AddressListActivity$5;
.super Ljava/lang/Object;
.source "AddressListActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/AddressListActivity;->flush()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/AddressListActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/AddressListActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    .line 424
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .prologue
    .line 429
    iget-object v4, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    const-string v5, "userInfo"

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/example/m6wmr/AddressListActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 430
    .local v1, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v4, "uid"

    const-string v5, ""

    invoke-interface {v1, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 431
    .local v2, "uid":Ljava/lang/String;
    const-string v4, "pass"

    const-string v5, ""

    invoke-interface {v1, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 434
    .local v0, "pwd":Ljava/lang/String;
    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    iget-object v5, v5, Lcom/example/m6wmr/AddressListActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v5}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v5

    invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v5, "/index.php?ctrl=app&action=addresslist&uid="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&pwd="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, "&datatype=json&page="

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget-object v5, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    # getter for: Lcom/example/m6wmr/AddressListActivity;->page:I
    invoke-static {v5}, Lcom/example/m6wmr/AddressListActivity;->access$13(Lcom/example/m6wmr/AddressListActivity;)I

    move-result v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 436
    .local v3, "url":Ljava/lang/String;
    const-string v4, "LLLLLLLLLLLLLLLLLL"

    invoke-static {v4, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 438
    iget-object v4, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    iget-object v5, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    iget-object v5, v5, Lcom/example/m6wmr/AddressListActivity;->m:Lmyapp/MyApp;

    invoke-static {v3, v5}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lcom/example/m6wmr/AddressListActivity;->access$2(Lcom/example/m6wmr/AddressListActivity;Ljava/lang/String;)V

    .line 439
    const-string v4, "xxxxxxxxxxxxxxxxxxx"

    iget-object v5, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    # getter for: Lcom/example/m6wmr/AddressListActivity;->gethttpsString:Ljava/lang/String;
    invoke-static {v5}, Lcom/example/m6wmr/AddressListActivity;->access$3(Lcom/example/m6wmr/AddressListActivity;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 442
    iget-object v4, p0, Lcom/example/m6wmr/AddressListActivity$5;->this$0:Lcom/example/m6wmr/AddressListActivity;

    # getter for: Lcom/example/m6wmr/AddressListActivity;->handler:Landroid/os/Handler;
    invoke-static {v4}, Lcom/example/m6wmr/AddressListActivity;->access$7(Lcom/example/m6wmr/AddressListActivity;)Landroid/os/Handler;

    move-result-object v4

    const/4 v5, 0x5

    invoke-virtual {v4, v5}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 444
    return-void
.end method
